/*******************************************************************************
 * Copyright (c) 2014 Francesco Gabbrielli.
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Francesco Gabbrielli - initial API and implementation
 ******************************************************************************/
package it.francescogabbrielli.android.solidalapp;

import java.util.EventObject;

public class StatusEvent extends EventObject {
	
	private static final long serialVersionUID = 3723259264283909883L;
	
	public enum Type {GENERIC, NETWORK, GCM, LOCATION}
	
	public StatusEvent() {
		this(Type.GENERIC);
	}

	public StatusEvent(Type type) {
		super(type);
	}
	
	public Type getType() {
		return (Type) getSource();
	}

}
